This is a DIV element that uses an image as a border.

Here are the two images used:

Click the "Try it" button to change the value of the borderImageSource property.

Note:Internet Explorer 10, Opera, and Safari 5 do not support the borderImageSource property.